package com.tanhua.domain.vo;

import com.tanhua.domain.mongo.Option;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

/**
 * @Author:ZQX
 * @Date:2021/10/6 16:40
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionVo {
    private String id; //主键id
    private ObjectId questionnaireId; //调查问卷的发布id
    private String question;  //调查问卷的题目
    List<OptionVo> options; //选择
}
